import request from '@/utils/request'

export default {
    submitLoginUser(userInfo) {
        //登录方法
        return request({
            url: `/educenter/member/login`,
            method: 'post',
            data: userInfo
        })
    },
    //根据token值获取用户信息
    getLoginUserInfo() {
        return request({
            url: `/educenter/member/getMemberInfo`,
            methdo: 'get'
        })
    },
    // haha(){
    //     return request({
    //         url: `/educenter/member/haha`,
    //         methdo: 'get'
    //     })
    // }
}